package {
	import flash.display.Sprite;
	
	import org.wak.main.AdventureMaster;
	
	import puzzle.MyPuzzleController;

	[SWF(width=600,height=400, backgroundColor=0x555555)]
	public class SkeletonProject extends Sprite
	{
		private var mAdvMaster:AdventureMaster ;
		
		public function SkeletonProject()
		{
			// Initialization of the adventure
			mAdvMaster = new AdventureMaster();
			mAdvMaster.SetMainClass(this);
			mAdvMaster.SetResMngr(Resources);
			mAdvMaster.Initialize() ;
			
			// Adding puzzle controllers
			mAdvMaster.AddPuzzleController( new MyPuzzleController() );
			
			mAdvMaster.Start();
		}
	}
}
